﻿<Window x:Class="Mengsk.ProxyDelivery.App.UI.Order.OrderReturnDetail"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="退货详情" Height="800" Width="1200" WindowState="Maximized">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>
        <GroupBox Header="基本信息" Grid.Row="0">
            <Grid>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="80"/>
                    <ColumnDefinition Width="*"/>
                    <ColumnDefinition Width="80"/>
                    <ColumnDefinition Width="*"/>
                    <ColumnDefinition Width="80"/>
                    <ColumnDefinition Width="*"/>
                    <ColumnDefinition Width="80"/>
                    <ColumnDefinition Width="*"/>
                    <ColumnDefinition Width="80"/>
                    <ColumnDefinition Width="*"/>
                    <ColumnDefinition Width="80"/>
                    <ColumnDefinition Width="*"/>
                    <ColumnDefinition Width="80"/>
                    <ColumnDefinition Width="*"/>
                </Grid.ColumnDefinitions>

                <Grid.RowDefinitions>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="Auto"/>
                </Grid.RowDefinitions>

                <TextBlock Grid.Row="0" Grid.Column="0" Text="退货类型:" Margin="3" VerticalAlignment="Center"/>
                <TextBox Grid.Row="0" Grid.Column="1" Text="{Binding OrderChange.Type,Converter={StaticResource descriptionConverter}}" Margin="3" VerticalAlignment="Center" Style="{StaticResource SelectableTextBox}"/>
                <TextBlock Grid.Row="0" Grid.Column="2" Text="退货原因:" Margin="3" VerticalAlignment="Center"/>
                <TextBox Grid.Row="0" Grid.Column="3" Text="{Binding OrderChange.Reason,Converter={StaticResource descriptionConverter}}" Margin="3" VerticalAlignment="Center" Style="{StaticResource SelectableTextBox}"/>
                <TextBlock Grid.Row="0" Grid.Column="4" Text="退货结论:" Margin="3" VerticalAlignment="Center"/>
                <TextBox Grid.Row="0" Grid.Column="5" Text="{Binding OrderChange.ResultReason,Converter={StaticResource descriptionConverter}}" Margin="3" VerticalAlignment="Center" Style="{StaticResource SelectableTextBox}"/>
                <TextBlock Grid.Row="0" Grid.Column="6" Text="拒绝原因:" Margin="3" VerticalAlignment="Center"/>
                <TextBox Grid.Row="0" Grid.Column="7" Text="{Binding OrderChange.RejectReason,Converter={StaticResource descriptionConverter}}" Margin="3" VerticalAlignment="Center" Style="{StaticResource SelectableTextBox}"/>
                <TextBlock Grid.Row="0" Grid.Column="8" Text="当前状态:" Margin="3" VerticalAlignment="Center"/>
                <TextBox Grid.Row="0" Grid.Column="9" Text="{Binding OrderChange.State,Converter={StaticResource descriptionConverter}}" Margin="3" VerticalAlignment="Center" Style="{StaticResource SelectableTextBox}"/>
                <TextBlock Grid.Row="0" Grid.Column="10" Text="快递公司:" Margin="3" VerticalAlignment="Center"/>
                <TextBox Grid.Row="0" Grid.Column="11" Text="{Binding OrderChange.ReturnDeliveryCompany}" Margin="3" VerticalAlignment="Center" Style="{StaticResource SelectableTextBox}"/>
                <TextBlock Grid.Row="1" Grid.Column="0" Text="退货编号:" Margin="3" VerticalAlignment="Center"/>
                <TextBox Grid.Row="1" Grid.Column="1" Text="{Binding OrderChange.Id}" Margin="3" VerticalAlignment="Center" Style="{StaticResource SelectableTextBox}"/>
                <TextBlock Grid.Row="1" Grid.Column="2" Text="卖家编号:" Margin="3" VerticalAlignment="Center"/>
                <TextBox Grid.Row="1" Grid.Column="3" Text="{Binding OrderChange.SellerId}" Margin="3" VerticalAlignment="Center" Style="{StaticResource SelectableTextBox}"/>
                <TextBlock Grid.Row="1" Grid.Column="4" Text="订单编号:" Margin="3" VerticalAlignment="Center"/>
                <TextBox Grid.Row="1" Grid.Column="5" Text="{Binding OrderChange.OrderId}" Margin="3" VerticalAlignment="Center" Style="{StaticResource SelectableTextBox}"/>
                <TextBlock Grid.Row="1" Grid.Column="6" Text="子订单编号:" Margin="3" VerticalAlignment="Center"/>
                <TextBox Grid.Row="1" Grid.Column="7" Text="{Binding OrderChange.OrderGoodsId}" Margin="3" VerticalAlignment="Center" Style="{StaticResource SelectableTextBox}"/>
                <TextBlock Grid.Row="1" Grid.Column="8" Text="新订单编号:" Margin="3" VerticalAlignment="Center"/>
                <TextBox Grid.Row="1" Grid.Column="9" Text="{Binding OrderChange.NewOrderId}" Margin="3" VerticalAlignment="Center" Style="{StaticResource SelectableTextBox}"/>
                <TextBlock Grid.Row="1" Grid.Column="10" Text="快递单号:" Margin="3" VerticalAlignment="Center"/>
                <TextBox Grid.Row="1" Grid.Column="11" Text="{Binding OrderChange.ReturnDeliveryNumber}" Margin="3" VerticalAlignment="Center" Style="{StaticResource SelectableTextBox}"/>

            </Grid>
        </GroupBox>
        <GroupBox Header="流程信息" Grid.Row="1">
            <Grid>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="80"/>
                    <ColumnDefinition Width="*"/>
                    <ColumnDefinition Width="80"/>
                    <ColumnDefinition Width="*"/>
                    <ColumnDefinition Width="80"/>
                    <ColumnDefinition Width="*"/>
                    <ColumnDefinition Width="80"/>
                    <ColumnDefinition Width="*"/>
                    <ColumnDefinition Width="80"/>
                    <ColumnDefinition Width="*"/>
                    <ColumnDefinition Width="80"/>
                    <ColumnDefinition Width="*"/>
                    <ColumnDefinition Width="80"/>
                    <ColumnDefinition Width="*"/>
                </Grid.ColumnDefinitions>

                <Grid.RowDefinitions>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="Auto"/>
                </Grid.RowDefinitions>

                <TextBlock Grid.Row="0" Grid.Column="0" Text="创建人员:" Margin="3" VerticalAlignment="Center"/>
                <TextBox Grid.Row="0" Grid.Column="1" Text="{Binding OrderChange.CreateOperator}" Margin="3" VerticalAlignment="Center" Style="{StaticResource SelectableTextBox}"/>
                <TextBlock Grid.Row="0" Grid.Column="2" Text="接收人员:" Margin="3" VerticalAlignment="Center"/>
                <TextBox Grid.Row="0" Grid.Column="3" Text="{Binding OrderChange.ReciveOperator}" Margin="3" VerticalAlignment="Center" Style="{StaticResource SelectableTextBox}"/>
                <TextBlock Grid.Row="0" Grid.Column="4" Text="处理人员:" Margin="3" VerticalAlignment="Center"/>
                <TextBox Grid.Row="0" Grid.Column="5" Text="{Binding OrderChange.ProcessOperator}" Margin="3" VerticalAlignment="Center" Style="{StaticResource SelectableTextBox}"/>
                <TextBlock Grid.Row="0" Grid.Column="6" Text="出单人员:" Margin="3" VerticalAlignment="Center"/>
                <TextBox Grid.Row="0" Grid.Column="7" Text="{Binding OrderChange.ToVendorOperator}" Margin="3" VerticalAlignment="Center" Style="{StaticResource SelectableTextBox}"/>
                <TextBlock Grid.Row="0" Grid.Column="8" Text="回单人员:" Margin="3" VerticalAlignment="Center"/>
                <TextBox Grid.Row="0" Grid.Column="9" Text="{Binding OrderChange.BackfromVendorOperator}" Margin="3" VerticalAlignment="Center" Style="{StaticResource SelectableTextBox}"/>
                <TextBlock Grid.Row="0" Grid.Column="10" Text="退款人员:" Margin="3" VerticalAlignment="Center"/>
                <TextBox Grid.Row="0" Grid.Column="11" Text="{Binding OrderChange.RefundOperator}" Margin="3" VerticalAlignment="Center" Style="{StaticResource SelectableTextBox}"/>
                <TextBlock Grid.Row="0" Grid.Column="12" Text="拒绝人员:" Margin="3" VerticalAlignment="Center"/>
                <TextBox Grid.Row="0" Grid.Column="13" Text="{Binding OrderChange.RejectOperator}" Margin="3" VerticalAlignment="Center" Style="{StaticResource SelectableTextBox}"/>
                
                <TextBlock Grid.Row="1" Grid.Column="0" Text="创建时间:" Margin="3" VerticalAlignment="Center"/>
                <TextBox Grid.Row="1" Grid.Column="1" Text="{Binding OrderChange.CreateTime,Converter={StaticResource datetimeConverter}}" Margin="3" VerticalAlignment="Center" Style="{StaticResource SelectableTextBox}"/>
                <TextBlock Grid.Row="1" Grid.Column="2" Text="接收时间:" Margin="3" VerticalAlignment="Center"/>
                <TextBox Grid.Row="1" Grid.Column="3" Text="{Binding OrderChange.ReciveTime,Converter={StaticResource datetimeConverter}}" Margin="3" VerticalAlignment="Center" Style="{StaticResource SelectableTextBox}"/>
                <TextBlock Grid.Row="1" Grid.Column="4" Text="处理时间:" Margin="3" VerticalAlignment="Center"/>
                <TextBox Grid.Row="1" Grid.Column="5" Text="{Binding OrderChange.ProcessTime,Converter={StaticResource datetimeConverter}}" Margin="3" VerticalAlignment="Center" Style="{StaticResource SelectableTextBox}"/>
                <TextBlock Grid.Row="1" Grid.Column="6" Text="出单时间:" Margin="3" VerticalAlignment="Center"/>
                <TextBox Grid.Row="1" Grid.Column="7" Text="{Binding OrderChange.ToVendorTime,Converter={StaticResource datetimeConverter}}" Margin="3" VerticalAlignment="Center" Style="{StaticResource SelectableTextBox}"/>
                <TextBlock Grid.Row="1" Grid.Column="8" Text="回单时间:" Margin="3" VerticalAlignment="Center"/>
                <TextBox Grid.Row="1" Grid.Column="9" Text="{Binding OrderChange.BackfromVendorTime,Converter={StaticResource datetimeConverter}}" Margin="3" VerticalAlignment="Center" Style="{StaticResource SelectableTextBox}"/>
                <TextBlock Grid.Row="1" Grid.Column="10" Text="退款时间:" Margin="3" VerticalAlignment="Center"/>
                <TextBox Grid.Row="1" Grid.Column="11" Text="{Binding OrderChange.RefundTime,Converter={StaticResource datetimeConverter}}" Margin="3" VerticalAlignment="Center" Style="{StaticResource SelectableTextBox}"/>
                <TextBlock Grid.Row="1" Grid.Column="12" Text="拒绝时间:" Margin="3" VerticalAlignment="Center"/>
                <TextBox Grid.Row="1" Grid.Column="13" Text="{Binding OrderChange.RejectTime,Converter={StaticResource datetimeConverter}}" Margin="3" VerticalAlignment="Center" Style="{StaticResource SelectableTextBox}"/>

            </Grid>
        </GroupBox>
        <GroupBox Header="金额信息" Grid.Row="4">
            <Grid>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="80"/>
                    <ColumnDefinition Width="*"/>
                    <ColumnDefinition Width="80"/>
                    <ColumnDefinition Width="*"/>
                    <ColumnDefinition Width="80"/>
                    <ColumnDefinition Width="*"/>
                    <ColumnDefinition Width="80"/>
                    <ColumnDefinition Width="*"/>
                    <ColumnDefinition Width="80"/>
                    <ColumnDefinition Width="*"/>
                    <ColumnDefinition Width="80"/>
                    <ColumnDefinition Width="*"/>
                    <ColumnDefinition Width="80"/>
                    <ColumnDefinition Width="*"/>
                </Grid.ColumnDefinitions>

                <TextBlock Grid.Row="0" Grid.Column="0" Text="服务费用:" Margin="3" VerticalAlignment="Center"/>
                <TextBox Grid.Row="0" Grid.Column="1" Text="{Binding OrderChange.RefundServiceMoney}" Margin="3" VerticalAlignment="Center" Style="{StaticResource SelectableTextBox}"/>
                <TextBlock Grid.Row="0" Grid.Column="2" Text="快递费用:" Margin="3" VerticalAlignment="Center"/>
                <TextBox Grid.Row="0" Grid.Column="3" Text="{Binding OrderChange.RefundDeliveryMoney}" Margin="3" VerticalAlignment="Center" Style="{StaticResource SelectableTextBox}"/>
                <TextBlock Grid.Row="0" Grid.Column="4" Text="补助费用:" Margin="3" VerticalAlignment="Center"/>
                <TextBox Grid.Row="0" Grid.Column="5" Text="{Binding OrderChange.MoreRefundDeliveryMoney}" Margin="3" VerticalAlignment="Center" Style="{StaticResource SelectableTextBox}"/>
                <TextBlock Grid.Row="0" Grid.Column="6" Text="商品费用:" Margin="3" VerticalAlignment="Center"/>
                <TextBox Grid.Row="0" Grid.Column="7" Text="{Binding OrderChange.GoodsMoney}" Margin="3" VerticalAlignment="Center" Style="{StaticResource SelectableTextBox}"/>
                <TextBlock Grid.Row="0" Grid.Column="8" Text="礼品费用:" Margin="3" VerticalAlignment="Center"/>
                <TextBox Grid.Row="0" Grid.Column="9" Text="{Binding OrderChange.GiftMoney}" Margin="3" VerticalAlignment="Center" Style="{StaticResource SelectableTextBox}"/>
                <TextBlock Grid.Row="0" Grid.Column="10" Text="退款编号:" Margin="3" VerticalAlignment="Center"/>
                <TextBox Grid.Row="0" Grid.Column="11" Text="{Binding OrderChange.SystemRefundId}" Margin="3" VerticalAlignment="Center" Style="{StaticResource SelectableTextBox}"/>
                
            </Grid>
        </GroupBox>
    </Grid>
</Window>
